<!DOCTYPE html>
<html lang="en">
    <head>
            <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta name="viewport" content="width=device-width, initial-scale=1">
            <title>Login</title>
            <link rel="stylesheet" href="<?php echo base_url("assets/css/bootstrap.css"); ?>" />
            <script type="text/javascript" src="<?php echo base_url("assets/js/jquery.min.js");?>"></script>
            <script type="text/javascript" src="<?php echo base_url("assets/js/bootstrap.js"); ?>"></script>
            <style>    
                // Classes
                .center > form {
                    width: 300px;
                    margin: 0 auto;
                }
                .row-fluid{
                    margin-top:100px;
                    width: 300px;
                    margin-left: 500px;
                }
                .btn-info{
                    width: 200px;
                }
                .btn-toolbar
                {
                    margin-left: 25px;
                }
            </style>
    </head>
    <body>
        <div class="container-fluid">
        <div class="row-fluid">
            <div class="offset4 span4 well">
                <h1>Login page</h1>
                Please enter your credentials
                <hr>
                <form action="<?php echo site_url()."welcome" ?>" method="POST">
                    <table>
                    <tr>
                        <td align="right"><label>Username:</label></td>
                        <td><label><input type="text" placeholder="Enter your name" name="username" autofocus class="span12"></label></td>                   
                    </tr>
                    <tr>
                        <td align="right"><label>Password:</label></td>
                        <td><label><input type="password" placeholder="Enter your password" name="password" class="span12"></label></td>
                    </table>
                    <hr>
                    <div class="btn-toolbar">
                        <button type="submit" class="btn btn-info">Log in</button>
                    </div>
                </form>
            </div>
        </div> 
    </body>
</html>